package cn.yonyong.base.project.others.webScrap;

import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.springframework.web.client.RestTemplate;

import java.io.IOException;

/**
 * @Describtion 全名K歌
 * @Author yonyong
 * @Date 2019/10/14 16:46
 * @Version 1.0.0
 **/
public class ScrapKg {
    public static void main(String[] args) throws IOException {
        RestTemplate restTemplate = new RestTemplate();
        //这里是分享地址：
        String url  ="https://node.kg.qq.com/play?s=7tcIMx7Zu00wd77T";
        String result = restTemplate.getForObject(url,String.class);
        System.out.println(result);
    }
}
